describe = ["组织能力", "领导能力", "计划能力", "沟通协调能力", "工作方法", "执行能力", "时间管理", "理解判断力", "责任感", "积极进取", "纪律性", "抗压能力",
            "服务意识", "团队意识", "大局观", "专业技能", "钻研能力", "专业知识", "学习能力", "创新能力"]

result = {
    'type': '',
    'describe': '',
    'occupation': ''
}

# 综合能力测试
def ZHNLPG(data):
    data_list = [int(i) for i in
                 list(data.replace(',', '').replace('A', '5').replace('B', '4').replace('C', '3').replace('D', '2'))]

    count = {
        "zz": data_list[0],
        "ld": data_list[1],
        "jh": data_list[2],
        "gt": data_list[3],
        "gz": data_list[4],
        "zx": data_list[5],
        "sj": data_list[6],
        "lj": data_list[7],
        "zr": data_list[8],
        "jj": data_list[9],
        "jl": data_list[10],
        "ky": data_list[11],
        "fw": data_list[12],
        "td": data_list[13],
        "dj": data_list[14],
        "zy": data_list[15],
        "zy": data_list[16],
        "zy": data_list[17],
        "xx": data_list[18],
        "cx": data_list[19]
    }

    result['type'] = '测试结果如下：'
    result['describe'] = describe
    result['occupation'] = data_list
    result['count'] = count

    return result
